package com.atguigu.gmall.search.service;

import com.atguigu.gmall.search.Goods;
import com.atguigu.gmall.search.vo.SearchParamVo;
import com.atguigu.gmall.search.vo.SearchRespVo;

public interface SearchService {
    /**
     * 检索所有参数
     * @param searchParamVo
     * @return
     */
    SearchRespVo search(SearchParamVo searchParamVo);

    /**
     * 上架
     * @param goods
     */
    void save(Goods goods);

    /**
     * 下架
     * @param skuId
     */
    void down(Long skuId);

}
